﻿using FlyingHat.Common.Global;
using FlyingHat.Model.Models;
using FlyingHat.Model.Models.Global;

namespace FlyingHat.Service.IService
{
    public interface IBookService : IDependency
    {
        Task<IReturnModel> GetList(string? name, string? author, long? libraryId, long? bookself, int page, int limit);
        Task<IReturnModel> AddOrUpdate(BookKeyModel model);
        Task<IReturnModel> Delete(long id);
    }
}
